﻿@page "/"
@using MduiBlazor.Shared;
@using Microsoft.AspNetCore.Components.Web
@namespace MduiBlazor.Server.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <base href="~/" />
    <title>MduiBlazor</title>
    <link rel="icon" type="image/png" href="favicon.png" />
    <link rel="stylesheet" href="css/site.css" />
    <link rel="stylesheet" href="_content/MduiBlazor/css/mdui.css" />
    <link rel="stylesheet" href="_content/MduiBlazor.Shared/css/site.css" />
    <link rel="stylesheet" href="_content/MduiBlazor.Shared/MduiBlazor.Shared.bundle.scp.css" />

    <!-- highlight -->
    <link rel="stylesheet" href="_content/MduiBlazor.Shared/highlight/css/vs.min.css">
    <link rel="stylesheet" href="_content/MduiBlazor.Shared/highlight/css/highlightjs-copy.min.css">

    <component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" />
</head>

<body>
    <component type="typeof(App)" render-mode="ServerPrerendered" />

    <div id="blazor-error-ui">
        <environment include="Staging,Production">
            An error has occurred. This application may no longer respond until reloaded.
        </environment>
        <environment include="Development">
            An unhandled exception has occurred. See browser dev tools for details.
        </environment>
        <a href="" class="reload">Reload</a>
        <a class="dismiss">🗙</a>
    </div>

    <script src="_framework/blazor.server.js"></script>

    <!-- highlight -->
    <script type="text/javascript"
            src="_content/MduiBlazor.Shared/highlight/js/highlight.min.js"></script>
    <script type="text/javascript"
            src="_content/MduiBlazor.Shared/highlight/js/cshtml-razor.min.js"></script>
    <script type="text/javascript"
            src="_content/MduiBlazor.Shared/highlight/js/highlightjs-copy.min.js"></script>
    <script>
        if (hljs != null) {
            hljs.addPlugin(new CopyButtonPlugin());
        }
    </script>
</body>

</html>
